<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>牛挣钱股神指导群 - 聊天记录</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#6B7280',
                        light: '#F3F4F6',
                        dark: '#1F2937',
                        accent: '#3B82F6'
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .message-bubble {
                @apply rounded-2xl px-4 py-2 max-w-[85%] shadow-sm;
            }
            .message-sent {
                @apply bg-blue-600 text-white rounded-tr-none;
            }
            .message-received {
                @apply bg-gray-100 text-gray-800 rounded-tl-none;
            }
            .avatar {
                @apply w-10 h-10 rounded-full flex items-center justify-center text-white font-bold;
            }
        }
    </style>
</head>
<body class="bg-gray-50 min-h-screen">
    <div class="max-w-4xl mx-auto bg-white shadow-lg rounded-xl overflow-hidden">
        <!-- 头部 -->
        <header class="bg-primary text-white p-4 flex items-center justify-between">
            <div class="flex items-center space-x-3">
                <div class="avatar bg-white text-primary text-xl">股</div>
                <div>
                    <h1 class="text-xl font-bold">牛挣钱股神指导群</h1>
                    <p class="text-sm opacity-80">聊天记录 - 2025年07月24日</p>
                </div>
            </div>
            <div class="flex space-x-3">
                <button class="p-2 rounded-full hover:bg-primary-700 transition-colors">
                    <i class="fa fa-search"></i>
                </button>
                <button class="p-2 rounded-full hover:bg-primary-700 transition-colors">
                    <i class="fa fa-ellipsis-v"></i>
                </button>
            </div>
        </header>

        <!-- 聊天内容 -->
        <main class="p-4 space-y-6 max-h-[70vh] overflow-y-auto">
            <!-- 时间分隔线 -->
            <div class="flex justify-center my-4">
                <span class="bg-gray-200 text-gray-500 text-xs px-3 py-1 rounded-full">09:00</span>
            </div>

            <!-- 消息列表 -->
            <div class="flex items-start space-x-3">
                <div class="avatar bg-blue-500">蓝</div>
                <div>
                    <div class="flex items-center space-x-2 mb-1">
                        <span class="font-semibold text-sm">蓝猫</span>
                        <span class="text-xs text-gray-500">09:18:33</span>
                    </div>
                    <div class="message-bubble message-received">
                        老九不能走！
                    </div>
                </div>
            </div>

            <div class="flex items-start space-x-3">
                <div class="avatar bg-green-500">鼎</div>
                <div>
                    <div class="flex items-center space-x-2 mb-1">
                        <span class="font-semibold text-sm">鼎呱呱🇩 🇬 🇬@🍁 ⃢👁</span>
                        <span class="text-xs text-gray-500">09:25:43</span>
                    </div>
                    <div class="message-bubble message-received">
                        1.2万亿水电站首期融资已到位  国家感谢所有股民的免费赞助
                    </div>
                </div>
            </div>

            <!-- 时间分隔线 -->
            <div class="flex justify-center my-4">
                <span class="bg-gray-200 text-gray-500 text-xs px-3 py-1 rounded-full">10:00</span>
            </div>

            <div class="flex items-start space-x-3">
                <div class="avatar bg-red-500">胡</div>
                <div>
                    <div class="flex items-center space-x-2 mb-1">
                        <span class="font-semibold text-sm">胡征</span>
                        <span class="text-xs text-gray-500">10:12:39</span>
                    </div>
                    <div class="message-bubble message-received">
                        今天卖出高争民爆，买入中国电建[呲牙][呲牙][呲牙]
                    </div>
                </div>
            </div>

            <div class="flex items-start space-x-3">
                <div class="avatar bg-red-500">胡</div>
                <div>
                    <div class="flex items-center space-x-2 mb-1">
                        <span class="font-semibold text-sm">胡征</span>
                        <span class="text-xs text-gray-500">10:13:43</span>
                    </div>
                    <div class="message-bubble message-received">
                        我走到哪里，哪里就是人气第一
                    </div>
                </div>
            </div>

            <div class="flex items-start space-x-3">
                <div class="avatar bg-red-500">胡</div>
                <div>
                    <div class="flex items-center space-x-2 mb-1">
                        <span class="font-semibold text-sm">胡征</span>
                        <span class="text-xs text-gray-500">10:15:51</span>
                    </div>
                    <div class="message-bubble message-received">
                        看清楚短线该怎么做了吗？
                    </div>
                </div>
            </div>

            <div class="flex items-start space-x-3">
                <div class="avatar bg-red-500">胡</div>
                <div>
                    <div class="flex items-center space-x-2 mb-1">
                        <span class="font-semibold text-sm">胡征</span>
                        <span class="text-xs text-gray-500">10:35:06</span>
                    </div>
                    <div class="message-bubble message-received">
                        海南封关，受益最大的是医药
                    </div>
                </div>
            </div>

            <!-- 更多消息... -->
            <div class="flex items-start space-x-3">
                <div class="avatar bg-red-500">胡</div>
                <div>
                    <div class="flex items-center space-x-2 mb-1">
                        <span class="font-semibold text-sm">胡征</span>
                        <span class="text-xs text-gray-500">10:39:49</span>
                    </div>
                    <div class="message-bubble message-received">
                        中国电建距离前高还差十万八千里，我觉得没有任何风险
                    </div>
                </div>
            </div>

            <div class="flex items-start space-x-3">
                <div class="avatar bg-yellow-500">王</div>
                <div>
                    <div class="flex items-center space-x-2 mb-1">
                        <span class="font-semibold text-sm">老王</span>
                        <span class="text-xs text-gray-500">10:49:54</span>
                    </div>
                    <div class="message-bubble message-received">
                        <div class="text-xs text-gray-500 mb-1">引用 胡征:</div>
                        皇上千金之躯，这种样子给人以得意猖狂之感，有损光辉形象。/::D
                    </div>
                </div>
            </div>

            <!-- 时间分隔线 -->
            <div class="flex justify-center my-4">
                <span class="bg-gray-200 text-gray-500 text-xs px-3 py-1 rounded-full">11:00</span>
            </div>

            <div class="flex items-start space-x-3">
                <div class="avatar bg-purple-500">内</div>
                <div>
                    <div class="flex items-center space-x-2 mb-1">
                        <span class="font-semibold text-sm">内观修罗-薩</span>
                        <span class="text-xs text-gray-500">11:51:01</span>
                    </div>
                    <div class="message-bubble message-received">
                        卖出高争民爆，换入中国电建。确实是实在是高明！服！！
                    </div>
                </div>
            </div>

            <!-- 图片消息示例 -->
            <div class="flex items-start space-x-3">
                <div class="avatar bg-red-500">胡</div>
                <div>
                    <div class="flex items-center space-x-2 mb-1">
                        <span class="font-semibold text-sm">胡征</span>
                        <span class="text-xs text-gray-500">11:56:55</span>
                    </div>
                    <div class="message-bubble message-received p-0 bg-transparent border border-gray-200 rounded-xl overflow-hidden">
                        <img src="https://picsum.photos/400/200" alt="分时图" class="w-full h-auto">
                    </div>
                    <div class="text-xs text-gray-500 mt-1">分时图不会看怎么炒短线？</div>
                </div>
            </div>

            <!-- 更多消息... -->
            <div class="flex justify-center my-4">
                <span class="bg-gray-200 text-gray-500 text-xs px-3 py-1 rounded-full">14:00</span>
            </div>

            <div class="flex items-start space-x-3">
                <div class="avatar bg-red-500">胡</div>
                <div>
                    <div class="flex items-center space-x-2 mb-1">
                        <span class="font-semibold text-sm">胡征</span>
                        <span class="text-xs text-gray-500">14:18:42</span>
                    </div>
                    <div class="message-bubble message-received">
                        08年4万亿投资，搞出一大堆超级龙，墨脱1.2万亿，就几个涨停板？
                    </div>
                </div>
            </div>
        </main>

        <!-- 底部工具栏 -->
        <footer class="border-t p-4 bg-white">
            <div class="flex items-center justify-between">
                <div class="text-sm text-gray-500">
                    共 <span class="font-semibold text-primary">52</span> 条消息
                </div>
                <div class="flex space-x-2">
                    <button class="px-3 py-1 bg-primary text-white text-sm rounded-lg hover:bg-primary-700 transition-colors">
                        保存记录
                    </button>
                    <button class="px-3 py-1 bg-gray-200 text-gray-700 text-sm rounded-lg hover:bg-gray-300 transition-colors">
                        导出PDF
                    </button>
                </div>
            </div>
        </footer>
    </div>

    <script>
        // 简单的交互功能
        document.addEventListener('DOMContentLoaded', () => {
            // 平滑滚动到底部
            const chatContainer = document.querySelector('main');
            chatContainer.scrollTop = chatContainer.scrollHeight;

            // 模拟图片加载
            const images = document.querySelectorAll('img');
            images.forEach(img => {
                img.addEventListener('error', () => {
                    img.src = 'https://picsum.photos/400/200?random=' + Math.random();
                });
            });
        });
    </script>
</body>
</html>